﻿function setInitSort(id, newSort)
{
    var sortArr = newSort.split(',')
    var sorting = [[sortArr[0], sortArr[1]]];
    if (sortArr[1] == "0")
        $("#" + id + " table th:eq(" + sortArr[0] + ")").removeClass().addClass("header headerSortDown");
    else
        $("#" + id + " table th:eq(" + sortArr[0] + ")").removeClass().addClass("header headerSortUp");
    //$("#" + id + " table").data('tablesorter').sortList = sorting;
}
//-->
